package com.lzh.persevere.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.persevere.model.entity.FriendCycle;

import java.util.List;
import java.util.Map;

/**
 * 朋友圈表表数据库访问层
 *
 * @author luzhiheng
 * @since 2025-07-07
 */
public interface FriendCycleMapper extends BaseMapper<FriendCycle> {

    /**
     * 获取列表总记录数
     *
     * @param queryMap 查询条件
     * @return Integer
     */
    Integer countList(Map<String, Object> queryMap);

    /**
     * 分页查询列表
     *
     * @param queryMap 查询条件
     * @return List<Map < String, Object>>
     */
    List<Map<String, Object>> pageList(Map<String, Object> queryMap);
}

